package ewms.vo;

import ewms.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 委外出厂视图对象 ewms_out_factory
 *
 * @author zhaoxiaochun
 * @date 2022-02-17
 */
@Data
@ApiModel("委外出厂视图对象")
public class EwmsOutFactoryVo {

	private static final long serialVersionUID = 1L;

	/** 委外出厂ID */
	@ApiModelProperty("委外出厂ID")
	private Long outFactoryId;

	/** 危废ID */
	@ApiModelProperty("危废ID")
	private Long wasteId;

	/** 危废名称 */
	@Excel(name = "危废名称", width = 45)
	@ApiModelProperty("危废名称")
	private String wasteName;

	/** 出库明细id */
	@ApiModelProperty("出库明细id")
	private Long outWarehouseDetailId;

	/** 处置公司名称 */
	@Excel(name = "处置公司", width = 30, dictType = "waste_handle_company")
	@ApiModelProperty("处置公司名称")
	private String handleCompanyKey;

	/** 转移联单号 */
	@Excel(name = "转移联单号")
	@ApiModelProperty("转移联单号")
	private String transferNumber;

	/** 出厂时间 */
	@Excel(name = "出厂时间" , width = 30, dateFormat = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty("出厂时间")
	private Date outFactoryDate;

	/** 出厂重量 */
	@Excel(name = "出厂重量", scale = 2)
	@ApiModelProperty("出厂重量")
	private BigDecimal outWarehouseWeight;

	/** 总重 */
	@Excel(name = "毛重", scale = 2)
	@ApiModelProperty("总重")
	private BigDecimal totalWeight;

	/** 净重 */
	@Excel(name = "净重", scale = 2)
	@ApiModelProperty("净重")
	private BigDecimal netWeight;

	/** 备注 */
	@ApiModelProperty("备注")
	private String remark;

	/**
	 * 天数（与今天比较）
	 */
	@ApiModelProperty("天数")
	private Long overDay;
}
